{% extends "PopshouseAdminBundle::layout.html.twig" %}


{% block title %}
Pagina instellingen
{% endblock %}
{% block content %}
<div class="left side">
    {% include "PopshouseAdminBundle:Page:menu.html.twig"  %}
</div>
<div class="left content" style="width:670px">

    <h2>Pagina instellingen</h2>
    
    {% if app.session.hasFlash('notice') %}
        <div class="message message-green">
            {{ app.session.flash('notice') }}
            <span class="close"><img src="{{ asset('images/layout/admin/icon/close_green.png') }}" alt="sluit" /></span>
        </div>
    {% endif %}
    
    <p>Klik op een pagina om de instellingen te wijzigen</p>
    
    <ul class="translations">
        {% for page in pages %}
        <li id="settings_{{ page.id }}">
        <a href="{{ path('page_edit', { 'id' : page.id }) }}">{{ page.name }}</a>
        </li>
        {% endfor %}
    </ul>

</div>
{% endblock %}